/*
 * Copyright (c) 2025 HiSilicon (Shanghai) Technologies Co., Ltd.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see
 * <https://www.gnu.org/licenses/>.
 */

#include "ot_common.h"

#ifndef OT_VO_EXPORT_H
#define OT_VO_EXPORT_H

typedef struct {
    void (*vo_notify)(int mod_id, int dev);
    void (*vo_user_notify)(int mod_id, int dev);
} ot_vo_export_callback;

typedef td_s32 ot_vo_register_export_callback(ot_vo_export_callback *export_callback);

typedef struct {
    ot_vo_register_export_callback *vo_register_export_callback;
} ot_vo_export_symbol;

ot_vo_export_symbol *ot_vo_get_export_symbol(td_void);
td_void ot_vo_enable_dev_export(ot_vo_dev dev);
td_void ot_vo_disable_dev_export(ot_vo_dev dev);

#endif /* OT_VO_EXPORT_H */
